import config.MainConfig;
import impl.UserServiceImpl;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MainConfig.class);

        UserServiceImpl service = context.getBean(UserServiceImpl.class);
        service.login();
    }
}
